<?
	$rootp = "http://".((dirname($_SERVER['PHP_SELF']) == "\\") ? $_SERVER['HTTP_HOST'] : $_SERVER['HTTP_HOST']. dirname($_SERVER['PHP_SELF']));
	
	$rs = mysql_query("select * from PHPAUCTIONW_config") or die(mysql_error());
	while ($row = mysql_fetch_assoc($rs))
	{
		$cfg[$row['key']] = $row['value'];
	}
?>
